#include <iostream>
#include <cstring>
#include <cmath>
using namespace std;
int main(){
	int m,n,t; 
	cin>>m>>n>>t;
	int k;
	if(m>n){
		k=m;
		m=n;
		n=k;
	}
	if(n>t){
		k=n;
		n=t;
		t=k;
	}
	if(m>t){
		k=m;
		m=t;
		t=k;	
	}
	cout<<m<<" "<<n<<" "<<t<<endl;
	return 0;
}

